package com.kitty.game.scene.aoi;

import com.kitty.game.role.model.Role;
import com.kitty.mina.message.Message;

/**
 * AOI功能接口
 */
public abstract class AOI {
    /**
     * 场景ID
     */
    private int id;

    /**
     * 进入场景
     */
    public abstract void enter(Role role);

    /**
     * 离开场景
     */
    public abstract void leave(long uid);

    /**
     * 场景内移动
     */
    public abstract void move(Role role);

    /**
     * 发送其他包
     */
    public abstract void sendMessages(Role role, Message...messages);

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
